<?php

use Illuminate\Support\Facades\Route;

Route::apiResource('blog',App\Http\Controllers\BlogController::class) -> parameter('blog','id');

Route::get('/', function () {
    return view('welcome');
});
